Built-In Functions
print
Prints arguments to the console seperated by a space.
println
Prints arguments to the console, each on a new line.
Conversions
string- tostringfloat- tofloatint32- toInt32int64- toInt64
globalget
Gets a global variable. Only has one argument which is expected to be a string.
globalset
Sets a global variable. Has two arguments, the first is the name of the variable and is expected to be a string. The second is the value to set the variable to.
throw
range
Creates an instance of the RCaron.RCaronRange class. It has the long Start and End properties and implements IEnumerable. It can currently only be used with arguments of type long.
rcaron// prints 0 1 2 3 4 5 6 7 8 9foreach ($i in range(0, 10)) {print $i;}
rcaron// prints 0 1 2 3 4 5 6 7 8 9foreach ($i in range(0, 10)) {print $i;}